package com.guess.lolguessing.domain.po;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("Comment")
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "comment_id", type = IdType.AUTO)
    private Integer CommentId;

    @TableField("match_id")
    private Integer matchId;

    @TableField("player_id")
    private Integer playerId;

    @TableField("user_id")
    private Integer UserId;

    @TableField("rating")
    private BigDecimal rating;

    @TableField("msg")
    private String comment;

    @TableField("likes")
    private Integer Likes;


}
